From b106c5e4d56c88c32ba3d2940171e71cbfc77627 Mon Sep 17 00:00:00 2001 From: Daniel Boles Date: Tue, 21 Feb 2017 21:13:43 +0000 Subject: [PATCH] =?utf8?q?Frame=E2=80=94Clarify=20relationship=20of=20:sha?= =?utf8?q?dow-type=20&=20.flat?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- gtk/gtkframe.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gtk/gtkframe.c b/gtk/gtkframe.c index 3b3ba300d3..7095c570ad 100644 --- a/gtk/gtkframe.c +++ b/gtk/gtkframe.c @@ -79,7 +79,8 @@ * ]| * * GtkFrame has a main CSS node with name frame. This node can be given the - * style class .flat, which disables drawing of the border. + * style class .flat, which disables drawing of the border, equivalent to + * calling gtk_frame_set_shadow_type() with GTK_SHADOW_NONE. */ struct _GtkFramePrivate @@ -615,7 +616,10 @@ gtk_frame_get_label_align (GtkFrame *frame, * @frame: a #GtkFrame * @type: the new #GtkShadowType * - * Sets the shadow type for @frame. + * Sets the #GtkFrame:shadow-type for @frame, i.e. whether it is drawn without + * (GTK_SHADOW_NONE) or with (other values) a visible border. Values other than + * GTK_SHADOW_NONE are treated identically by #GtkFrame. The chosen type is + * applied by removing or adding the .flat class to the main CSS node, frame. **/ void gtk_frame_set_shadow_type (GtkFrame *frame, -- 2.30.2